﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Runtime.Serialization;

namespace elr_tracking_bal.LOT
{
    public class Lote : INotifyPropertyChanged
    {
        private int _ID_LOTE;
        private POM.POM _POM;
        private string _LOTE_NAME;
        private CAT.TipoPedimento _TIPO_PEDIMENTO;

        public int ID_LOTE
        {
            get
            {
                return _ID_LOTE;
            }
            set
            {
                if (_ID_LOTE != value)
                {
                    _ID_LOTE = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("ID_LOTE"));
                    }
                }
            }
        }

        public string LOTE_NAME
        {
            get
            {
                return _LOTE_NAME;
            }
            set
            {
                if (_LOTE_NAME != value)
                {
                    _LOTE_NAME = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("LOTE_NAME"));
                    }
                }
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;
    }
}
